function changeSchoolId(value, text) {
  var schoolName = document.getElementById("schoolname");
  if (value=="000") {
	  schoolName.value = "";
	  schoolName.disabled = false;
	  schoolName.readOnly = false;
  }
  else {
	  schoolName.value = text;
	  schoolName.disabled = false;
	  schoolName.readOnly = true;
  }
}

// Open a popup window.
function openPopup(url,mname,mwidth,mheight) {
	var strWindowFeatures = 'width='+mwidth+',height='+mheight+',location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=no;' 
	window.open(url,mname,strWindowFeatures);
	/**if (document.all&&window.print) {
		//if ie5
		eval('window.showModelessDialog(url,mname,"help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')
	}
	else {
		eval('window.open(url,mname,"width='+mwidth+'px,height='+mheight+'px,resizable=no,scrollbars=1")')
	}**/
}